it's owing to its taboo nature that it's popular (i.e. it gets your attention).
premarital sex was made a sin so that society wouldn't drive itself into the ground from the possible negative consequences, like STDs and unplanned children. generally it's easier to scare people with eternal damnation than to educate them, to consider the long-term consequences of a given action, don't you think...