I was on the 5th day of my period and I was still a Virgin, but that very day I haven’t bleed yet on the 5th day,then I had anal sex and I bled, and when I had virginal sex I didn’t bleed,does that mean I lost my virginity through anal sex or I had bled the day I had anal sex because I was still on my period?
There is no single way to define virginity. There are many different views on who is considered a virgin. To start with, when we talk about virgins, we mostly mean women. Virginity in men isn't very important in many societies. Most of the time, people believe that women who have never had vaginal sex are virgins. To others, even having had genital contact, or anal sex or oral stimulation means that they are no longer virgins.
The ancient Romans and Greeks believed that virgins were independent of men, which was a good thing to them. Only later did this change to a woman being 'unspoiled' and upholding a family's honour if she got married a virgin. Also, because birth control methods were either unavailable or working badly, staying a virgin meant avoiding to get pregnant outside of marriage.
So you see, virginity is really something that you can decide for yourself.