What is the legal definition of Bad Faith?

Is Bad faith something that someone does or does not consider?

Or is bad faith something that someone deliberately sets out to do wrong?

Can you give me a accurate definition of what the law states that Bad Faith covers?

Bad faith is taking actions one knows are done with an improper motive, or motivation and done to cause harm/