I was learned that fruit has it seeds inside, vegetables on the outside, meaning that strawberry is actually a vegetable.
This depends on the perspective you want to take. From an anatomical perspective, the fruit part of the strawberry is different from the fruit part of a grape.
From an economic perspective, they are the same; the sweet and fleshy material is the payment from the plant to the animal for doing the plant a service. The seed is something that the animal doesn't want but consumes anyway as part of the deal.
However, one misnomer remains true — a Strawberry isn't actually a 'berry'.