def get_overlap(imgCol1, imgCol2):
  """
  Calculate the area of overlap between two image collections
  Parameters:
    imgCol1 (ee.ImageCollection): first image collection
    imgCol2 (ee.ImageCollection): second image collection
  Returns:
    ee.Geometry: area of overlap
  """
  geom1 = imgCol1.geometry(5).dissolve()
  geom2 = imgCol2.geometry(5).dissolve()
  intersect = geom1.intersection(geom2, 5)
  return intersect