They are almost the same. If you have to tell that small difference beween the 2 expression, I think 夏季 has more clear fuction to discribe a "season“, more literary and formal. 夏天 more informal and oral. When we write an artical, we can use both; when we speak, we often use 夏天.