.
A gap is a gap only when it is not justified. If you have been working or had an unfortunate break or any other justifiable break, then it’s absolutely fine.
Your study gap might be legitimate for a number of reasons, you can present it to the University and the Immigration if you have some job experience/diploma/other justification as evidence of your study gap.
Gaps do affect you candidature but it can be backed up by the strong profile and personal statement/Statement of Purpose. You need to explain the reason for your gap if you have been working or engaged in any other activity. If you had any medical issues you can provide medical certificate along with other documents.
Applying to your dream university is just a click away.