A real estate agent represents a buyer or a seller in a real estate transaction. They may work independently or…