This is the fruit of Indian strawberry--as in India. It is not even related to real strawberry.
Indian strawberry is a non-native invasive plant and also a weed. It spreads quickly by runners. The fruit is not edible. It has a yellow flower (real strawberries have white flowers.) Do not let the fruit fall to the ground--as you can see they are covered with hundreds of seeds. Pull the plant at the main 'mother'plant and be sure to get all the runners, some of which may have already rooted.
Here is more info: http://extension.umd.edu/hgic/indian-mock-strawberry