네
Yes
Can be used together with phrases to mean “alright”, “okay”, or “I understand”
Can also be used as a question. It is a polite way to ask “Yes?” You can use it to ask someone to repeat themselves or to clarify something.
아니요
No
Note that 아니요 is a phrase that by itself just means ‘No.’