Insider trading is the buying or selling of a security by someone who has access to non-public information about the company. It is illegal and undermines market integrity.
Example: An executive using confidential information about an upcoming merger to profit from stock trading constitutes insider trading.
Summary
Insider trading is trading based on non-public, material information.