User-defined function refers to functions that accept parameters, return a value, and perform complex calculations. They are designed to use logical storage whenever necessary.