Bird identification

just spotted a bird in my garden that looked just like a sparrow but it had a white tail & wing tips. Something else or just an odd sparrow out? Lol