My understanding is that 'aap' is a much more formal and polite version . You can use it with people you've just met , or with adults or if you just wish to be more polite . Tum, on the other hand is used more often among friends and people you are familiar with . So, an informal version of the same word .