How is a credit analyst different from a loan officer?

A credit analyst focuses on risk analysis, while a loan officer works directly with clients to issue loans.