You can dismiss people for incompetence, negative attitude, general distruption, breaking company rulles and long term absences..also misconduct etc.
However reundancy is a non worker inspired dissmissal, so when the workers fullfillemnt is no longer needed.