FlirTinG??

well can anyone tell me exactly wat flirting is
i don’t understand fully what it means
my friends say i flirt too much with one of my guy friends
But i already have a bf
i dont kno if how i talk to my friend is flirting
please help
im afraid that my bf will consider that im cheating on him and will break up with me when i dont know wat im doing