@Sofia169 The short answer is that you can only review the guest that made the reservation. And only that person can review you. This is one of the reasons that Airbnb requires that the person making the reservation also be the guest staying at the listing. The person who actually stayed with you is invisible to Airbnb: Airbnb doesn't know who they are and actually you don't either; they are a complete stranger without identification or history on Airbnb.
Here's what Airbnb says about 3rd party bookings:
https://www.airbnb.com/help/article/427/can-i-book-on-behalf-of-a-friend-or-family-member
You should never knowinly accept a reservation where someone is booking for someone else. In fact, if an Instant Book host finds out that someone booked for another person, Airbnb allows them to cancel without penalty.
All the best.