Difference between cooking apples and eating apples
There are many different varieties of apples, some are good for baking because they hold their shapes, some others do not, but can be good for apple sauce or jelly.

Most of the apples are good for eating raw.

There are many lists and charts available on the internets that show all that.

For example : 
https://bestapples.com/varieties-information/varieties/

or : 
https://www.theyummylife.com/Apple_Fact_Sheet