A:Answer Both are good cameras. Alpha a5000 is a lot smaller and compact than Canon T5 Rebel. Both take good pictures and HD videos. Both accept interchangeable lenses (wide angle, telephoto lenses). Differences:
a5000 is good for travel, it is a mirrorless camera (between compact and DSLR) has flip-up monitor/screen for selfies, it transfers pictures to smart phone, ipad, smart TV and computer with wireless connection, and missing below T5 specs.
T5 is larger in size, it is true DSLR camera, has external flash connection, has a viewfinder (most people will want this feature), no panorama mode, no internal memory, and missing above a5000 specs.
T5 is generally 2x more than a5000. So it really depends on your budget and use. Picture and video quality is same.