Does this connect the MacBook Air to a late Mac desktop?

I'm not sure what to order to connect the MacBook Air to an older version of the Mac desktop. The Mac desktop is a 2007 or older. I want to make sure I order the correct adapter so that both screens can be viewed simultaneously.