This is a kind of fruit called an apple.  In particular, it appears to be a variety known as the "Golden Delicious."  Such an apple can be eaten right off the tree.  Other varieties are much better when cooked before eating.