Horseshoes in 3D equations with applications to Lotka–Volterra systems