A patent protects inventions or new processes, while a trademark protects brand names, logos, or symbols.