Membership new registration fields

Is there a way I can add new fields to the membership registration and to the member’s profile?