What is a special prosecutor and why is one assigned to President Trump?

What is a special prosecutor and why is one assigned to President Trump?