An atom loses electrons when it is oxidized.
In a redox reaction there is a loss of electrons when a atom or ion is oxidized. For example solid Pb will lose two electrons at the anode to become Pb2+ in the aqueous solution. A good acronym to remember is LEO says GER, oxidation is losing electrons reduction gaining. If u want more detail please feel free to ask.