N-Grams are probabilistic models that predict the next word in a sequence given the previous n number of words. More formally, N-grams mean a probabilistic model that can estimate probability of a word given n-1 previous words and thereby also asssign probabilities to the entire sequences.
Before diving into n-grams, lets just firstly revise some probability rules you would have learnt in 11th grade