Can employers find out if you were fired?

Can employers find out if you were fired?

The major factors in the firing of an employee, besides they ask for employee performance, dedication towards work.