Phase transitions : a brief account with modern applications