What is singularity in physics?

In Physics, singularity is a point at which a function takes an infinite value, especially in space-time when matter is infinitely dense, as at the center of a black hole.