Using a functional resume format is beneficial when you have gaps in employment. The functional resume highlights honors and achievements more than work experience. It lists your skills and other attributes that make you a good employee at the top of the resume. It is important to fill the gaps in employment with experiences that helped you grow. Volunteer work, continuing education, and other projects you worked on during that time are all great options. Be sure to use a positive tone while describing the gaps in employment and be confident about them when interviewing later.
If you have major gaps in employment, there are a few ways to make them less noticeable like a change of resume foramt. It is important to be honest about gaps in your resume and not try to cover them up, but to also make them seem productive and intentional. Adding volunteer work or classes in the time you were unemployed is highly valuable and fairly simple to get starter with.