〜が好き・嫌い
like, dislike
Thing + が + 好き / 嫌い + です
Sign up free to review this point on a spaced schedule.
In Japanese, liking isn't a verb. 好き is a な-adjective meaning "liked", and 嫌い means "disliked". So 猫が好きです is closer to "cats are liked (by me)" than "I like cats".
That's why the thing liked takes が, not を: 猫が好きです. The person who does the liking, when mentioned, is the topic: 私は猫が好きです.
Before a noun they need な: 好きな食べ物, "a food I like, favourite food".
嫌い is strong, more "hate" than "don't like". In conversation, あまり好きじゃない ("not a big fan of") is the gentler choice.
Examples
私は猫が好きです。
I like cats.
弟は野菜が嫌いです。
My little brother hates vegetables.
どんな音楽が好きですか。
What kind of music do you like?
日本の映画が大好きです。
I love Japanese films.
好きな食べ物は何ですか。
What's your favourite food?