Difference between maximum and negative log likelihood loss functions?

it is confusing, and which is used when please explain with example if possible. How it is different from cross entropy