Attached garages:
Cheaper to build.
Extra, convenient storage space.
Keeps you and your car out of inclement weather.
Limited in possible uses.
Detached garages:
More options for use.
Can become a secondary living space.
Long-term benefits and return on investment (ROI).
More expensive.