Trans fats are a type of unsaturated fat that have been chemically altered through a process called hydrogenation. This process involves adding hydrogen atoms to the fat molecules, which changes their structure and makes them more solid at room temperature. This modification enhances the shelf life of food products but poses health risks.