When you make an ability check you usually roll a d20, but when you have an advantage or disadvantage you roll two d20's instead.
Advantage | ... use the dice with the higher resulting value |
Disadvantage | ... use the dice with the lower resulting value |