Exploring the magnetic fields in local and distant galaxiesстатья