What is Internal Conflict in Writing?

An internal conflict is where the character faces a conflict with themselves. An example would be, the character is offered drugs and might lose friends over it. He has to decide whether his friends are more important than his morals.