Trans fats are primarily created through hydrogenation, a process that turns liquid oils into solids like hard margarine and shortening. Some animal-based foods have small amounts of naturally occurring trans fats.
Trans fat can increase cholesterol levels the same way as saturated fat.