Take the year's profit and divide it between every share that exists. Your slice is earnings per share.
It exists so you can compare a giant with a minnow, and so you can see whether profit per owner is growing — not just profit in total.
Watch for share count. A company issuing lots of new shares can grow profit while EPS stays flat, because the pie is being cut into more pieces.