what is the difference between a psychologist and a psychiatrist

what is the difference between a psychologist and a psychiatrist