1.in summer:泛指“在夏天;在夏季”(任何一年的)例如:
The climate in summer is hot and humid.
夏天的天气炎热湿润。
2.in the summer:有两层意思。
(1)泛指“在夏天;在夏季”(任何一年的),同 in summer。
The climate in the summer is hot and humid.
夏天的天气炎热湿润。
(2)特指已知的那个夏天。
That year Anna sat her finals in the summer.
安娜在那年夏天参加了课程终结考试。
Peter died in the summer of 1702.
彼得死于1702年夏天。
来自《简明英汉词典》
具体哪个意思,通过语境理解。