Difference between fruit and fruit in Korean
열매·과일

열매fruit
열매 is the fruit of a plant or tree, often with seeds inside. You can use it for things like apples, berries, or other plant fruit in nature. It is common when talking about trees, flowers, farms, and the outdoors.

과일fruit
Fruit means sweet and healthy food that grows on trees or plants. In Korean, 과일 means fruit in general, like apples, bananas, and grapes. You can use it when talking about eating, buying, or liking fruit.
The difference
과일 usually means fruit you eat, like apples, bananas, or grapes. 열매 is the fruit part of a plant in nature, often when talking about trees, flowers, or seeds.