There are 3 main types of attraction you need to know about:
Sexual Attraction:
Sexual attraction is attraction based on sexual feelings or sexual interest towards another person. Sexual attraction aligns with someone’s sexual orientation, ie. if someone is heterosexual they will be sexually attracted to the opposite sex.
Romantic Attraction:
Romantic attraction is attraction based on romantic feelings or interest towards another person. Romantic attraction may or may not align with someone’s sexual attraction - for example, someone may be asexual and bi-romantic, or homosexual and aromantic.
Aesthetic Attraction:
Aesthetic attraction is attraction based on another person’s appearance in terms of aesthetic pleasure, ie. finding someone good looking in an objective way. It is sometimes conflated with sexual attraction - however, aesthetic attraction is not sexual or romantic in nature, as it is possible to aesthetically appreciate someone without being sexually/romantically attracted to them.
Note: There are more types of attraction (e.g. sensual, queer platonic) than listed here, and sometimes different types of attraction can be difficult to distinguish from each other. For most people, their romantic and sexual attraction align perfectly - however, this is not the case for everyone, particularly those on the ace- or aro-spectrums.