A theory of particles and fields is presented which is based exclusively on classical mechanics of a medium. An ideal fluid with voids is considered. Turbulence in this system is shown to give structures that reproduce electromagnetic fields and electrically charged particles. Precisely, a linearized continuum mechanics of the averaged turbulence appears to be isomorphic to conventional electrodynamics. Perturbations of homogeneous turbulence model electromagnetic fields with the fluid pressure for electrostatic potential, the fluid velocity for magnetic vector potential, and the density of the turbulence energy for electromotive force. Stationary inclusions of hollow bubbles and isles of quiescent fluid are formed from the voids as a result of turbulent cavitation. They represent electrically charged particles. Elastic interaction of the cavitational inclusions (termed cavitons) mimic Coulomb interaction of the charges. Kinetic interaction of a moving caviton with a fluid flow models magnetic interaction of a moving charge.