Thrush ?

Is thrush an std or can you get it from other things as well? I've just found out I've got it, but haven't slept with anyone else except my boyf.... Could he have given it to me?