Who may perform preventive maintenance on an aircraft and approve it for return to service?

1) Student or Recreational pilot.
2) Private or Commercial pilot.
3) None of the above.