The process of filing a lawsuit and then prosecuting it or defending against it.