How to get the first name and lastname of the user who has uploaded the product

Hello Sir,
I am using $content .= the_author(); this code to get the name of the user who has uploaded the product on the product page.
But by using I am getting the username not the Firstname and lastname.

So how to get firstname lastname of the user..

Please let me know..

Thanks